import query from '@dfeidao/atom-nodejs/db/query';
import { IncomingHttpHeaders } from 'http';
import { productid, systemid } from '../../atom/config';

// tslint:disable-next-line:no-empty-interface
interface Message {

}



export default async function atom(message: Message, action_id: string, session_id: string, headers: IncomingHttpHeaders) {
	const p = query(action_id, session_id, systemid);
	p.prepare('msg_type', ['msg_type_no', 'msg_type_name'], { productid, msg_type_no: 'XXLX20190524000001' }, 200, 1, [], []);
	const [dt1] = await p.exec();
	return { dt1 };

}
